// pages/pay/pay.js
Page({
  data: {
    
  },

  onLoad: function (options) {
    wx.showModal({
      title: '提示',
      confirmColor: "#a50a1d",
      content: '这里页面会跳离当前小程序，将会跳转到【党建】小程序中去',
      success: (res) => {
        if (res.cancel) {
          wx.navigateBack()
        } else {
          wx.navigateToMiniProgram({
            appId: 'wxa27019ed76b1c8a2',
            path:'ws_party_const/pages/payment/payment',
            success: (res) => {
              console.log(res)
            }
          })
        }
      }
    })
  },
})